﻿#include "levelselect.h"
#include "ui_levelselect.h"
#include "mainwindow.h"
levelselect::levelselect(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::levelselect)
{
    ui->setupUi(this);
}

levelselect::~levelselect()
{
    delete ui;
}

void levelselect::on_btn_prev_clicked()
{
    MainWindow *m=new MainWindow;
    this->hide();
    m->show();
}

void levelselect::on_btn_green_clicked()
{
    this->hide();
    g.show();

}
